<template>
    <!-- <scroll-view scroll-y class="scroll">
        <view class="title">{{ obj.title }}</view>
        <text class="content">{{ obj.content }}</text>
    </scroll-view> -->
    <web-view :src="obj.content" bindmessage=""></web-view>
</template>

<script setup>
import { onLoad } from '@dcloudio/uni-app';
import {ref} from 'vue'

const obj = ref({
    createdTime:'',
    title:'',
    content:''
})
onLoad(({createdTime,title,content})=>{
    obj.value = {
        createdTime,title,content
    }
})
</script>

<style lang="scss" scoped>
.scroll{
    width: 100vw;
    height: 100vh;
    background-color: white;
    padding:0 20rpx 20rpx;
    box-sizing: border-box;
    .title {
        font-size: 32rpx;
        color: black;
        font-weight: 700;
        padding: 30rpx 0;
    }
    .content{
        margin-top: 20rpx;
        font-size: 24rpx;
        color: rgb(28, 23, 23);
    }
}
</style>